DevOwl\RealCookieBanner\Utils D

Total Complexity 136
Dependencies 5
Dependents 23
Total lines 599
Lines of code 314
Logical lines of code 205
Comment lines 248
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
isPageBuilder()
B
68 27 3
setCookie()
A
45 10 38
isFrontend()
A
57 9 17
removeNonPermalinkQueryFromUrl()
S
51 7 25
host()
S
54 7 20
isPluginActive()
S
55 6 19
getPermalink()
S
56 6 18
getOriginalHomeUrl()
S
61 6 11
getOptionRaw()
S
59 5 14
isDownload()
S
63 5 9
currentContentTypeIs()
S
60 4 13
posts_where_find_in_set()
S
58 4 13
array_flatten()
S
62 4 11
endsWith()
S
63 4 10
getIpAddress()
S
62 4 10
getRandomWeightedElement()
S
64 3 9
giveHost()
S
69 3 5
startsWith()
S
67 3 7
isThemeActive()
S
61 2 11
isCLI()
S
78 2 3
joinWithAndSeparator()
S
68 2 6
hash()
S
66 2 8
anyPluginActive()
S
72 2 4
isPreinstalledEnvironment()
S
68 2 7
flatten()
S
67 2 8
get_admin_colors()
S
68 2 6
getRequestUrl()
S
69 2 6
getPreviewUrl()
S
77 1 3